home *** CD-ROM | disk | FTP | other *** search
/ Zoom 2 / Zoom - Release 2 (1996)(Active Software)[!].iso / games / think / grac / tutorial / tutorial.doc < prev    next >
Text File  |  2000-02-07  |  9KB  |  179 lines

  1.  
  2.                        GRAC Tutorial (Idiot's Guide)
  3.                        -----------------------------
  4.  
  5.    This tutorial will teach you the basics of using GRAC. By the end of the
  6. tutorial you will have a short game running. There is no need to read
  7. the docs first. You will need to use a backup copy of your GRAC disk. If you
  8. want to use a hard drive the principles will be the same, but I will assume
  9. that you are using a floppy disk.
  10.  
  11.    First of all, remember these instructions:
  12.  
  13.       Put this screen to the back (the button on the top right).
  14.       Load the GRAC editor by double clicking on its icon.
  15.       Press the left Amiga key and G together to get back to workbench.
  16.       Bring this window back to the front (same button as before).
  17.  
  18.    Got that? Then go ahead and do it.
  19.    You should now be back reading this paragraph. If not...
  20. Apart from the ones who have got hopelessly lost already, you have now
  21. learned how to start GRAC and get back to workbench. Left Amiga G will also
  22. get you back to GRAC. This is how you can follow the tutorial 
  23. and work in GRAC at the same time. Alternatively print out the tutorial.
  24.  
  25. Part 1: Getting the game to run
  26. -------------------------------
  27.  
  28.    The tutorial is already partly set up. What you need to do now is load
  29. it in. So click on 'Load game'. A file requester will appear. Click on
  30. '*tutorial' then 'tutorial.grac2'.The game will load, but it is just a
  31. skeleton, and needs some work before it will do anything.
  32.  
  33.    The first thing to do is load a picture. Logically enough this is achieved
  34. by clicking on 'Pictures'. The requester that appears has a slot named 'new
  35. picture'. Click on that. Choose 'tutorialroom.iff' from the file requestor. 
  36. When the path requester comes up, click on the first item. This
  37. is the screen where the adventure will take place.
  38.  
  39.    The screen is a little taller than it should be, so click on 'size',then
  40. click anywhere on the white line at the bottom of the picture. This will
  41. delete the unwanted part. Now click on 'save' then 'exit'.
  42.  
  43.    Now to load a character. Click on 'Characters', enter a name and choose
  44. the first path. The edit character screen will appear. Click on 'Load' and
  45. choose the file 'man.character'. To select a colour for this character's
  46. speech, click on 'colour', then choose one from the line. Any colour in the
  47. last 16 will do, brighter colours are better. Click on 'save' then 'exit'.
  48.  
  49.    Next you need to grab some objects. Click on 'Objects', and 'new object'
  50. to reach the object editor. Enter any name you like, then select the same 
  51. path as before. 
  52.  
  53.    Click on 'Load pic' at the bottom of the screen. Choose 
  54. 'tutorialobjects.iff'. This screen contains all of the objects to be used in
  55. the game.
  56.  
  57.    Now to grab an object. Click on 'Grab' and the object screen appears. Draw
  58. a rectangle around the desk by dragging the mouse. Make it as small 
  59. as possible while still containing the whole object. Release the mouse button
  60. then click the right button once. You should now see the desk in the
  61. main window. Move the slider to position two and grab the other part of the
  62. desk in the same way.
  63.  
  64.    Grab the computer screen, but instead of clicking the right mouse button,
  65. click with the left mouse button at the centre of the cross underneath it.
  66. Grab the other image of the screen in the same way. 
  67.  
  68.    Grab the blue book; this time click the left mouse button at the top
  69. centre of the image. (You may not see the book in the main window; this is
  70. because it is positioned off screen. Use the arrows to scroll it into view.)
  71. The rest of the objects are not needed in the tutorial but you can use them
  72. for practise later.
  73.  
  74.    One more thing to do here: click on 'characters' and select the character 
  75. that you loaded previously. Click on 'Save' then 'Exit'.
  76.  
  77.    You are now ready to start putting the room together. Click on 'Rooms' and
  78. enter a name. Choose the second picture, the second object bank and the first
  79. path.
  80.  
  81.    Put down an area where the character can walk as follows: Click on 'Walk'
  82. then 'Add'. The menu bar will disappear so that you can see the whole 
  83. screen. Draw a rectangle on the floor with the mouse. It will only cover
  84. part of the floor, but don't worry, you can add more rectangles later to 
  85. cover the whole floor. When you have drawn the rectangle the menu bar will
  86. return. Click on 'Exit'.
  87.  
  88.    Next place the starting point for the character. Select 'points' and
  89. 'add'. Click twice anywhere in the zone that you just created, choose 
  90. 'right' then exit.
  91.  
  92.    Click on 'foreground', 'add', choose the image of the desk and place
  93. it over the desk on the picture. Repeat for the other part of the desk, and
  94. for the image of the blank computer screen.
  95.  
  96.    Save the room by clicking on 'save' then exit back to the main menu.
  97.  
  98.    Save the game by clicking on 'save game' and selecting 'tutorial.grac2'.
  99.  
  100.    If you like, you can try running the game by double clicking on its icon 
  101. in the tutorial drawer. If you've done everything right so far, you will be
  102. able to make the man walk around inside the rectangle on the floor (which 
  103. is now invisible). Control and C quit the game.
  104.  
  105. Part 2: Some simple actions
  106. ---------------------------
  107.  
  108.    Nearly everything from now on will be done in the room editor. First of 
  109. all, add a few more 'walk' zones over the floor so that the whole area is
  110. covered. You will have to place them so that they go in between the two
  111. parts of the desk without touching either.
  112. If any two zones are touching, the character will be able to walk
  113. between them as though they were one large zone. To achieve this, click on
  114. 'join' in the 'walk' menu and then on a pair of touching zones. Repeat
  115. until all touching zones are 'joined' (a line is drawn between them to 
  116. indicate this).
  117.  
  118.    I will now explain how to add an object and animate it. Select 
  119. 'background' and 'add'. Draw a box around the computer. Click on 'name'
  120. then in the box that you just created and enter 'computer' in the 
  121. requester. Click on 'base' then on the floor by the computer, twice. Choose
  122. direction 'left' and height 'middle'. Click on 'string' and you can enter a
  123. description of the computer.
  124.   To make the computer turn on when it is 'operated'  you will need to write
  125. a small script. Click on 'actions' and select 'computer' and 'operate'.
  126. The script editor will appear. Enter 'reach' in the top line. If you press
  127. the help key you will be prompted to choose a height. After that some
  128. numbers will appear in the same line. Don't worry about these yet. Underneath
  129. 'reach' enter 'object frame' and press help again. Select the computer
  130. screen by clicking through the objects until you get to it, then choose the
  131. image of the turned-on computer. Now if you save the game (that's 'OK',
  132. 'exit', 'save', 'save game',) and run it you should be able to turn on the
  133. computer by operating it. Of course, it doesn't
  134. turn off if you operate it again. That will require a few more lines in the
  135. script.
  136.    Back in the script editor ('background', 'actions', 'computer', 
  137. 'operate'), insert two lines before 'object frame'. The script required is
  138. the following:
  139.  
  140.    reach  (numbers entered already)
  141.    compare  #1,0
  142.    if  3,0
  143.    object frame  (numbers entered already)
  144.    set flag  1,1
  145.    else   
  146.    object frame  (Help, choose the computer screen and the blank screen image)
  147.    set flag  1,0
  148.    end if
  149.  
  150.    That probably doesn't make a lot of sense at the moment. Some of the
  151. commands are similar to their Amos equivalents, like 'if' and 'paste'.
  152. Every command, including what the numbers mean, is listed in the 
  153. 'Commands.doc' file.
  154.  
  155.    One more thing before I leave you to experiment: how to have an object
  156. which can be picked up. Leave the room editor (saving first) and click on
  157. 'inventory'. This is where items in the inventory are edited. Click on 'add'
  158. and type 'book'. Click on 'save', go back to the room editor and click on
  159. 'foreground' then 'add'. Choose the book image and position it somewhere on
  160. the floor.
  161.  
  162.    Click on 'name',select the book object and call it 'book'.
  163.    Click on 'flag',select the book and enter '-2'
  164.    Click on 'base', select the book, click on the floor next to it twice,
  165.    choose a direction and height 'low'.
  166.    Click on 'take' and choose 'book' from both requesters.
  167.  
  168.    Then save the room. Exit and save the game, and try it out.
  169.  
  170.    There are a few other actions you could attempt, such as opening the 
  171. cupboard or the doors. This tutorial is just a small example of what is
  172. possible. To fully acquaint yourself with GRAC's many features, read the
  173. documentation and have a go at designing your own game.
  174.  
  175.    There is a second tutorial, which covers every aspect of creating a game
  176. from scratch, on 'GRAC User Disk #1' from F1 Licenceware.
  177.  
  178.  
  179.